package com.ktjiaoyu.SysUserController;


import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;


@RequestMapping("/user")
@Controller
public class UserController {
    private static final Logger LOGGER = LoggerFactory.getLogger(UserController.class);

    //查询用户分页数据
    // POST请求
 //    @RequestMapping(value = "/page",method = RequestMethod.POST)
    @PostMapping("/save")
    public String save(){
        LOGGER.info("保存用户信息");
        return null;
    }
    @GetMapping("/page")
    public String page(){
        LOGGER.debug("查询用户分页数据");
        return null;
    }
}
